package com.lecture.hibernate.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractSchool entity provides the base persistence definition of the School
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractSchool implements java.io.Serializable {

	// Fields

	private Integer schId;
	private String schName;
	private String schPhone;
	private String schEmail;
	private String schCotanctPerson;
	private String schRemark;
	private Set teachers = new HashSet(0);
	private Set optionsubjects = new HashSet(0);
	private Set debateGroups = new HashSet(0);
	private Set majors = new HashSet(0);
	private Set notices = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractSchool() {
	}

	/** full constructor */
	public AbstractSchool(String schName, String schPhone, String schEmail,
			String schCotanctPerson, String schRemark, Set teachers,
			Set optionsubjects, Set debateGroups, Set majors, Set notices) {
		this.schName = schName;
		this.schPhone = schPhone;
		this.schEmail = schEmail;
		this.schCotanctPerson = schCotanctPerson;
		this.schRemark = schRemark;
		this.teachers = teachers;
		this.optionsubjects = optionsubjects;
		this.debateGroups = debateGroups;
		this.majors = majors;
		this.notices = notices;
	}

	// Property accessors

	public Integer getSchId() {
		return this.schId;
	}

	public void setSchId(Integer schId) {
		this.schId = schId;
	}

	public String getSchName() {
		return this.schName;
	}

	public void setSchName(String schName) {
		this.schName = schName;
	}

	public String getSchPhone() {
		return this.schPhone;
	}

	public void setSchPhone(String schPhone) {
		this.schPhone = schPhone;
	}

	public String getSchEmail() {
		return this.schEmail;
	}

	public void setSchEmail(String schEmail) {
		this.schEmail = schEmail;
	}

	public String getSchCotanctPerson() {
		return this.schCotanctPerson;
	}

	public void setSchCotanctPerson(String schCotanctPerson) {
		this.schCotanctPerson = schCotanctPerson;
	}

	public String getSchRemark() {
		return this.schRemark;
	}

	public void setSchRemark(String schRemark) {
		this.schRemark = schRemark;
	}

	public Set getTeachers() {
		return this.teachers;
	}

	public void setTeachers(Set teachers) {
		this.teachers = teachers;
	}

	public Set getOptionsubjects() {
		return this.optionsubjects;
	}

	public void setOptionsubjects(Set optionsubjects) {
		this.optionsubjects = optionsubjects;
	}

	public Set getDebateGroups() {
		return this.debateGroups;
	}

	public void setDebateGroups(Set debateGroups) {
		this.debateGroups = debateGroups;
	}

	public Set getMajors() {
		return this.majors;
	}

	public void setMajors(Set majors) {
		this.majors = majors;
	}

	public Set getNotices() {
		return this.notices;
	}

	public void setNotices(Set notices) {
		this.notices = notices;
	}

}